#ifndef __COMMON_H
#define __COMMON_H

//#define ARTIST 0
//#define TITLE 1
//#define ALBUM 2
//#define YEAR 3

#define MAX_LEVELS 10
#define MUSIC_FOLDER_PATH "/home/kiranb/songs"
#define SYSTEMLOGLEVEL VDEBUG

#include <libexif/exif-data.h>
#include <fuse.h>

typedef enum eID3TAGTYPE
{
	ARTIST = 0,
	TITLE = 1,
	ALBUM = 2,
	YEAR = 3
} ID3TAGTYPE;

typedef enum eEXIFTAGTYPE
{
	MODEL = EXIF_TAG_MODEL,
	MANUFACTURER = EXIF_TAG_MAKE,
	COLORSPACE = EXIF_TAG_COLOR_SPACE,
} EXIFTAGTYPE;

typedef struct id3filedata_t
{
	char *artist;
	char *title;
	int year;
	char *album;
	char *path;
	char *filename;
}id3filedata;

typedef struct exiffiledata_t
{
	char *model;
	char *manufacturer;
	char *colorspace;
	char *filename;
	char *path;
} exiffiledata;

typedef struct filler_t
{
	void *buf;
	fuse_fill_dir_t filler;
	char colVal[100];
}filler_info;

typedef struct arraycontainer_t
{
	char **dataarray;
	int numelements;
} arraycontainer;

typedef struct keyvaluecontainer_t
{
	char **keyarray;
	char **valuearray;
	int numelements;
} keyvaluecontainer;

/*typedef struct mp3list_t
{
	filedata file;
	struct mp3list_t *next;
}mp3list;*/

//int info[4]	 = {ARTIST, ALBUM, TITLE, YEAR};
/*mp3list *mp3head;
mp3list *mp3tail;*/

#endif
